package com.yang.frost.blueberry.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author 10296
 * @date 2021/3/10
 * @Description: 文章新建---参数
 */
@ApiModel(value = "ArticleParam 对象", description = "文章管理新建参数")
public class ArticleParam {

    /**
     * 所属专题
     */
    @ApiModelProperty(value = "所属专题", example = "")
    private Integer topicId;
    /**
     * 文章标题
     */
    @ApiModelProperty(value = "文章标题", example = "")
    private String title;
    /**
     * 文章作者
     */
    @ApiModelProperty(value = "文章作者", example = "")
    private String author;
    /**
     * 转载来源网址
     */
    @ApiModelProperty(value = "转载来源", example = "")
    private String fromUrl;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", example = "")
    private String content;
    /**
     * 封面图
     */
    @ApiModelProperty(value = "封面图", example = "")
    private String image;
    /**
     * 关键字
     */
    @ApiModelProperty(value = "关键字", example = "")
    private String keywords;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", example = "")
    private String description;
    /**
     * 文章类目
     */
    @ApiModelProperty(value = "文章类目", example = "")
    private String categoryName;
    /**
     * 文章类目编号
     */
    @ApiModelProperty(value = "文章类目编号", example = "")
    private String categoryId;
    /**
     * 标签ID
     */
    @ApiModelProperty(value = "标签ID", example = "")
    private String tagId;

    /**
     * 标签名称
     */
    @ApiModelProperty(value = "标签名称", example = "")
    private String tagName;

    /**
     * 类型（1：普通，2：热门）
     */
    @ApiModelProperty(value = "类型（1：普通，2：热门）", example = "")
    private String type;
    /**
     * 是否允许评论
     */
    @ApiModelProperty(value = "是否允许评论(0:不允许,1:允许)", example = "1")
    private Byte allowComments;

    /**
     * 发布人
     */
    @ApiModelProperty(value = "发布人", example = "")
    private Integer userId;
    /**
     * 置顶等级
     */
    @ApiModelProperty(value = "置顶等级", example = "")
    private Integer top;
    /**
     * 所属系统
     */
    @ApiModelProperty(value = "所属系统", example = "")
    private Integer systemId;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", example = "")
    private Long orders;

    /**
     * 更改人
     */
    @ApiModelProperty(value = "更改人", example = "admin")
    private String updateBy;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "")
    private String remarks;


    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getFromUrl() {
        return fromUrl;
    }

    public void setFromUrl(String fromUrl) {
        this.fromUrl = fromUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getTagId() {
        return tagId;
    }

    public void setTagId(String tagId) {
        this.tagId = tagId;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Byte getAllowComments() {
        return allowComments;
    }

    public void setAllowComments(Byte allowComments) {
        this.allowComments = allowComments;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Long getOrders() {
        return orders;
    }

    public void setOrders(Long orders) {
        this.orders = orders;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "ArticleParam{" +
                "topicId=" + topicId +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", fromUrl='" + fromUrl + '\'' +
                ", image='" + image + '\'' +
                ", keywords='" + keywords + '\'' +
                ", description='" + description + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", tagId='" + tagId + '\'' +
                ", tagName='" + tagName + '\'' +
                ", type='" + type + '\'' +
                ", allowComments=" + allowComments +
                ", userId=" + userId +
                ", top=" + top +
                ", systemId=" + systemId +
                ", orders=" + orders +
                ", updateBy='" + updateBy + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
